
/**
 * Date:2021年9月28日下午2:20:35
 * Copyright (c) 2021, www.bwbroad.com All Rights Reserved.
 *
*/

package com.example.demo;

import org.springframework.context.annotation.Configuration;

/**
 * Description: TODO <br/>
 * Date:     2021年9月28日 下午2:20:35 <br/>
 * @author   wangbing	 
 */
@Configuration
public class BinlogPositionEntity {
	/**
	 * 记录当前监听位置的事件
	 *
	 */
	    /**
	     * binlog文件的名字
	     */
	    private String binlogName;
	    /**
	     * binlog文件的位置
	     */
	    private Long position;
	    /**
	     * binlog的服务id
	     */
	    private Long serverId;
		public String getBinlogName() {
			return binlogName;
		}
		public void setBinlogName(String binlogName) {
			this.binlogName = binlogName;
		}
		public Long getPosition() {
			return position;
		}
		public void setPosition(Long position) {
			this.position = position;
		}
		public Long getServerId() {
			return serverId;
		}
		public void setServerId(Long serverId) {
			this.serverId = serverId;
		}
	    
	    
	    
}

